# Copyright 1998-2019 Lawrence Livermore National Security, LLC and other
# HYPRE Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)


###########################################################

# GridCreate: ndim nparts
GridCreate: 2 1

# GridSetNumGhost: numghost[2*ndim]
GridSetNumGhost: [3 3 3 3]

# GridSetExtents: part ilower(ndim) iupper(ndim)
GridSetExtents: 0 (1- 1-) (2+ 2+)

# GridSetVariables: part nvars vartypes[nvars]
# CELL  = 0
GridSetVariables: 0 1 [0]

###########################################################

# StencilCreate: nstencils sizes[nstencils]
StencilCreate: 1 [13]

# StencilSetEntry: stencil_num entry offset[ndim] var value
StencilSetEntry: 0  0 [ 0  0] 0 12.0
StencilSetEntry: 0  1 [-1  0] 0 -1.0
StencilSetEntry: 0  2 [ 1  0] 0 -1.0
StencilSetEntry: 0  3 [ 0 -1] 0 -1.0
StencilSetEntry: 0  4 [ 0  1] 0 -1.0
StencilSetEntry: 0  5 [-2  0] 0 -1.0
StencilSetEntry: 0  6 [ 2  0] 0 -1.0
StencilSetEntry: 0  7 [ 0 -2] 0 -1.0
StencilSetEntry: 0  8 [ 0  2] 0 -1.0
StencilSetEntry: 0  9 [-3  0] 0 -1.0
StencilSetEntry: 0 10 [ 3  0] 0 -1.0
StencilSetEntry: 0 11 [ 0 -3] 0 -1.0
StencilSetEntry: 0 12 [ 0  3] 0 -1.0

###########################################################

# GraphSetStencil: part var stencil_num
GraphSetStencil: 0 0 0

###########################################################

# MatrixSetValues: \
#   part ilower(ndim) iupper(ndim) stride[ndim] var entry value
MatrixSetValues: 0 (1- 1-) (1- 2+) [1 1] 0  1 0.0
MatrixSetValues: 0 (2+ 1-) (2+ 2+) [1 1] 0  2 0.0
MatrixSetValues: 0 (1- 1-) (2+ 1-) [1 1] 0  3 0.0
MatrixSetValues: 0 (1- 2+) (2+ 2+) [1 1] 0  4 0.0
MatrixSetValues: 0 (1- 1-) (1- 2+) [1 1] 0  5 0.0
MatrixSetValues: 0 (2+ 1-) (2+ 2+) [1 1] 0  6 0.0
MatrixSetValues: 0 (1- 1-) (2+ 1-) [1 1] 0  7 0.0
MatrixSetValues: 0 (1- 2+) (2+ 2+) [1 1] 0  8 0.0
MatrixSetValues: 0 (1- 1-) (1- 2+) [1 1] 0  9 0.0
MatrixSetValues: 0 (2+ 1-) (2+ 2+) [1 1] 0 10 0.0
MatrixSetValues: 0 (1- 1-) (2+ 1-) [1 1] 0 11 0.0
MatrixSetValues: 0 (1- 2+) (2+ 2+) [1 1] 0 12 0.0

###########################################################

# ProcessPoolCreate: num_pools
ProcessPoolCreate: 1

# ProcessPoolSetPart: pool part
ProcessPoolSetPart: 0 0

###########################################################

